#ifndef boundedpanel_h
#define boundedpanel_h
#include <iostream>
#include "MiscGraphics.h"

class BoundedPanel: public Component
{
protected:
	int width, height;
public:
	BoundedPanel(int w, int h) :
		width(w), height(h)
	{
	}

	virtual void resized(int width, int height)
	{
		this->width = width;
		this->height = height;
		repaint();
	}
};

#endif
